<div class="page field-section1" data-page="exceptionDetailInfo" id="exceptionDetailInfo" action="createAbnormal">
	<div class="page-header">
		<label>当前位置：</label>
		<a href="javascript:void(0)" class="newTaskList" >收货理货</a>&nbsp;&gt;&nbsp;<a href="javascript:void(0)" class="newTaskDtail" >理货详情</a>&nbsp;&gt;&nbsp;异常信息
	</div>
	<div class="exceptionDetailInfoContent">
		<div class="dataTitle">异常基本信息：
			<div class="topBtn"></div>
		</div>
		<div class="dataline">
			<input type="hidden" name="inventoryId" />
			<input type="hidden" name="abnormalSourceId" />
			<input type="hidden" name="financeNumber" />
			<div>异常单号：
				<input type="text" disabled="disabled" name="abnormalNumber" />
			</div>
			<div>发生时间：
				<input readonly="readonly" onclick="WdatePicker({})" type="text" name="happenDate" />
			</div>
			<div>发生地点：
				<input type="text" name="happenAddress" />
			</div>
		</div>
		<div class="dataline">
			<div>上报时间：
				<input onclick="WdatePicker({})" readonly="readonly" type="text" name="reportDate" />
			</div>
			<div>上报单位：
				<input type="text" name="reportDepartment" />
			</div>
			<div>单据类型：
				<select name="voucherType">
					<option>业务委托单</option>
				</select>
			</div>
		</div>
		<div class="dataline">
			<div><span class="requiredInput">*</span>异常费用 ：
				<input isNULL="1" codeName="异常费用" class="exceptionRadio1" type="radio" name="expenseState" value="1" /> 有费用 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
				<input type="radio" class="exceptionRadio2" name="expenseState" value="0" /> 无费用 </div>
			<div><span class="requiredInput">*</span>异常类型：
				<select isNULL="1" codeName="异常类型" name="abnormalState">
					<option value="0">未知</option>
					<option value="1">货损</option>
					<option value="2">丢失</option>
				</select>
			</div>
			<div><span class="requiredInput">*</span>单据编号：
				<input isNULL="1" codeName="单据编号" type="text" name="financeNumber" />
			</div>
		</div>
		<div class="dataline">
			<div>紧急程度：
				<select name="urgency">
					<option>常规</option>
					<option>紧急</option>
					<option>特急</option>
				</select>
			</div>
			<div>客户：
				<input type="text" name="customer" />
			</div>
			<div>上报人：
				<input type="text" name="reportor" />
			</div>
		</div>
		<div class="dataline">
			<div><span style="font-weight: bold;">异常环节</span>：
				<select name="abnormalType">
					<option value="0">未知</option>
					<option value="1">理货异常</option>
					<option value="2">签收异常</option>
					<option value="3">扣货异常</option>
					<option value="4">运输异常</option>
				</select>
			</div>
			<div><span class="requiredInput">*</span><span style="font-weight: bold;">异常量</span>：
				<input isNULL="1" codeName="异常量" style="width: 151px;" type="text" name="quantity" /><select name="unit" style="width: 47px; border-left: none;">
					<option>箱</option>
					<option>吨</option>
				</select>
			</div>
			<div>填报人：
				<input type="text" name="fill" />
			</div>
		</div>
		<div class="dataline">
			<div><span class="requiredInput">*</span>责任划分：
				<input isNULL="1" codeName="责任划分" type="text" name="blame" />
			</div>
			<div><span class="requiredInput">*</span>估损费用：
				<input isNULL="1" codeName="估损费用" type="text" name="assessment" />
			</div>
			<div>所属部门/车队：
				<input type="text" name="department" />
			</div>
		</div>
		<div class="dataline">
			<div>操作部门：
				<input type="text" name="operateDepartment" />
			</div>
			<div>操作单位：
				<input type="text" name="operateUnit" />
			</div>
		</div>
		<div class="dataTitle">运输信息：</div>
		<div class="dataline">
			<div>牵引车号：
				<input type="text" name="tractor" />
			</div>
			<div>挂车号：
				<input type="text" name="trailer" />
			</div>
			<div>主驾：
				<input type="text" name="mainDrive" />
			</div>
		</div>
		<div class="dataline">
			<div>副驾：
				<input type="text" name="copilot" />
			</div>
		</div>
		<div class="dataTitle">异常货箱：</div>
		<div style="margin-left: 48px; margin-right: 180px;">
			<table id="exceptionDetailBulkstockBody">
			</table>
			<script type="text/template" id="exceptionDetailBulkstockTpl">
				<tr>
					<th>箱号</th>
					<th>货物规格</th>
					<th>数量-体积-重量</th>
					<th>铅封号</th>
					<th>异常</th>
					<th>状态</th>
					<th>操作</th>
				</tr>
				{@each datas as it} {@each it.abnormalInventories as item}
				<tr inventoryId="${item.inventoryId}">
					<input type="text" value="${item.signSoundRecorde}" />
		</div>
		<input type="text" value="${item.signAbnormalFile}" />
	</div>
	<td>${item.containerInventory.caseNumber}</td>
	<td>
		{@each item.containerInventory.containerBulkstocks as that} ${that.bulkstockName}-${that.specification}
		<br /> {@/each}
	</td>
	<td>
		{@each item.containerInventory.containerBulkstocks as that} ${that.quantity}(${that.unit})-${that.volume}(m³)-${that.weight}(吨)
		<br /> {@/each}
	</td>
	<td>${item.containerInventory.facingSlip}</td>
	<td>${getValueByKey(11, item.containerInventory.abnormalState)}</td>
	<td>${getValueByKey(5, item.containerInventory.supervisionState)}</td>
	<td><a class="exceptionInventoryDetail">详情</a></td>
	</tr>
	{@/each} {@/each}
	</script>
	
	<div class="footerButton">
		<a class="createAbnormalButton">上报</a>
	</div>
</div>